local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1
L0_1 = {}
L0_1.group_id = 133225085
L1_1 = {}
L1_1.group_id = 133225085
L2_1 = {}
L3_1 = 7216719
L4_1 = 7216619
L5_1 = 7217226
L6_1 = 7217320
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L2_1[4] = L6_1
L1_1.questList = L2_1
L2_1 = {}
L3_1 = 85004
L4_1 = 85005
L5_1 = 85006
L2_1[1] = L3_1
L2_1[2] = L4_1
L2_1[3] = L5_1
L1_1.chestList = L2_1
defs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 85001
L2_1.monster_id = 21010101
L3_1 = {}
L3_1.x = -6256.232
L3_1.y = 248.052
L3_1.z = -2573.362
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 243.134
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 33
L2_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
L2_1.disableWander = true
L2_1.pose_id = 9010
L2_1.climate_area_id = 7
L2_1.area_id = 18
L3_1 = {}
L3_1.config_id = 85003
L3_1.monster_id = 21010101
L4_1 = {}
L4_1.x = -6281.936
L4_1.y = 247.952
L4_1.z = -2528.718
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 202.954
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 33
L3_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
L3_1.disableWander = true
L3_1.pose_id = 9002
L3_1.climate_area_id = 7
L3_1.area_id = 18
L4_1 = {}
L4_1.config_id = 85010
L4_1.monster_id = 21030101
L5_1 = {}
L5_1.x = -6258.599
L5_1.y = 248.67
L5_1.z = -2576.553
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 118.491
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 33
L4_1.drop_tag = "\228\184\152\228\184\152\232\144\168\230\187\161"
L4_1.disableWander = true
L4_1.pose_id = 9012
L4_1.climate_area_id = 7
L4_1.area_id = 18
L5_1 = {}
L5_1.config_id = 85011
L5_1.monster_id = 21010401
L6_1 = {}
L6_1.x = -6255.898
L6_1.y = 249.019
L6_1.z = -2579.81
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 316.509
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 33
L5_1.drop_tag = "\232\191\156\231\168\139\228\184\152\228\184\152\228\186\186"
L5_1.disableWander = true
L5_1.pose_id = 9010
L5_1.climate_area_id = 7
L5_1.area_id = 18
L6_1 = {}
L6_1.config_id = 85012
L6_1.monster_id = 21010301
L7_1 = {}
L7_1.x = -6254.694
L7_1.y = 248.354
L7_1.z = -2576.858
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 286.653
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 33
L6_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
L6_1.disableWander = true
L6_1.pose_id = 9010
L6_1.climate_area_id = 7
L6_1.area_id = 18
L7_1 = {}
L7_1.config_id = 85014
L7_1.monster_id = 21030101
L8_1 = {}
L8_1.x = -6282.26
L8_1.y = 247.666
L8_1.z = -2531.208
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 3.725
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 33
L7_1.drop_tag = "\228\184\152\228\184\152\232\144\168\230\187\161"
L7_1.disableWander = true
L7_1.pose_id = 9012
L7_1.climate_area_id = 7
L7_1.area_id = 18
L8_1 = {}
L8_1.config_id = 85015
L8_1.monster_id = 21010401
L9_1 = {}
L9_1.x = -6284.527
L9_1.y = 248.108
L9_1.z = -2529.11
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 99.926
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 33
L8_1.drop_tag = "\232\191\156\231\168\139\228\184\152\228\184\152\228\186\186"
L8_1.disableWander = true
L8_1.pose_id = 9003
L8_1.climate_area_id = 7
L8_1.area_id = 18
L9_1 = {}
L9_1.config_id = 85017
L9_1.monster_id = 21030101
L10_1 = {}
L10_1.x = -6322.066
L10_1.y = 252.954
L10_1.z = -2554.041
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 170.342
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 33
L9_1.drop_tag = "\228\184\152\228\184\152\232\144\168\230\187\161"
L9_1.disableWander = true
L9_1.climate_area_id = 7
L9_1.area_id = 18
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
L1_1[7] = L8_1
L1_1[8] = L9_1
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 85002
L2_1.gadget_id = 70310004
L3_1 = {}
L3_1.x = -6257.446
L3_1.y = 248.763
L3_1.z = -2576.697
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 4.534
L3_1.y = 3.943
L3_1.z = 350.756
L2_1.rot = L3_1
L2_1.level = 33
L3_1 = GadgetState
L3_1 = L3_1.GearStart
L2_1.state = L3_1
L2_1.area_id = 18
L3_1 = {}
L3_1.config_id = 85004
L3_1.gadget_id = 70211002
L4_1 = {}
L4_1.x = -6251.516
L4_1.y = 248.501
L4_1.z = -2573.993
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 359.762
L4_1.y = 204.205
L4_1.z = 3.274
L3_1.rot = L4_1
L3_1.level = 26
L3_1.drop_tag = "\230\136\152\230\150\151\228\189\142\231\186\167\231\168\187\229\166\187"
L4_1 = GadgetState
L4_1 = L4_1.ChestLocked
L3_1.state = L4_1
L3_1.isOneoff = true
L3_1.persistent = true
L4_1 = {}
L4_1.name = "chest"
L4_1.exp = 1
L3_1.explore = L4_1
L3_1.area_id = 18
L4_1 = {}
L4_1.config_id = 85005
L4_1.gadget_id = 70211151
L5_1 = {}
L5_1.x = -6279.169
L5_1.y = 247.99
L5_1.z = -2526.843
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 354.455
L5_1.y = 201.134
L5_1.z = 1.769
L4_1.rot = L5_1
L4_1.level = 26
L4_1.chest_drop_id = 21910027
L4_1.drop_count = 1
L5_1 = GadgetState
L5_1 = L5_1.ChestLocked
L4_1.state = L5_1
L4_1.isOneoff = true
L4_1.persistent = true
L5_1 = {}
L5_1.name = "chest"
L5_1.exp = 1
L4_1.explore = L5_1
L4_1.area_id = 18
L5_1 = {}
L5_1.config_id = 85006
L5_1.gadget_id = 70211151
L6_1 = {}
L6_1.x = -6324.128
L6_1.y = 253.014
L6_1.z = -2556.646
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 49.632
L6_1.z = 4.111
L5_1.rot = L6_1
L5_1.level = 26
L5_1.chest_drop_id = 21910028
L5_1.drop_count = 1
L6_1 = GadgetState
L6_1 = L6_1.ChestLocked
L5_1.state = L6_1
L5_1.isOneoff = true
L5_1.persistent = true
L6_1 = {}
L6_1.name = "chest"
L6_1.exp = 1
L5_1.explore = L6_1
L5_1.area_id = 18
L6_1 = {}
L6_1.config_id = 85013
L6_1.gadget_id = 70310004
L7_1 = {}
L7_1.x = -6322.245
L7_1.y = 253.051
L7_1.z = -2555.198
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 9.841
L7_1.y = 0.246
L7_1.z = 3.235
L6_1.rot = L7_1
L6_1.level = 33
L7_1 = GadgetState
L7_1 = L7_1.GearStart
L6_1.state = L7_1
L6_1.area_id = 18
L7_1 = {}
L7_1.config_id = 85016
L7_1.gadget_id = 70310004
L8_1 = {}
L8_1.x = -6282.883
L8_1.y = 247.93
L8_1.z = -2529.797
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 0.0
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 33
L8_1 = GadgetState
L8_1 = L8_1.GearStart
L7_1.state = L8_1
L7_1.area_id = 18
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1085007
L2_1.name = "ANY_MONSTER_DIE_85007"
L3_1 = EventType
L3_1 = L3_1.EVENT_ANY_MONSTER_DIE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_ANY_MONSTER_DIE_85007"
L2_1.action = "action_EVENT_ANY_MONSTER_DIE_85007"
L3_1 = {}
L3_1.config_id = 1085008
L3_1.name = "ANY_MONSTER_DIE_85008"
L4_1 = EventType
L4_1 = L4_1.EVENT_ANY_MONSTER_DIE
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_ANY_MONSTER_DIE_85008"
L3_1.action = "action_EVENT_ANY_MONSTER_DIE_85008"
L4_1 = {}
L4_1.config_id = 1085009
L4_1.name = "ANY_MONSTER_DIE_85009"
L5_1 = EventType
L5_1 = L5_1.EVENT_ANY_MONSTER_DIE
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_ANY_MONSTER_DIE_85009"
L4_1.action = "action_EVENT_ANY_MONSTER_DIE_85009"
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
triggers = L1_1
L1_1 = {}
L2_1 = {}
L2_1.configId = 1
L2_1.name = "chestState"
L2_1.value = 0
L2_1.no_refresh = true
L3_1 = {}
L3_1.configId = 2
L3_1.name = "suiteBySeq"
L3_1.value = 0
L3_1.no_refresh = true
L1_1[1] = L2_1
L1_1[2] = L3_1
variables = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 0
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L4_1 = 85001
L5_1 = 85010
L6_1 = 85011
L7_1 = 85012
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 85002
L5_1 = 85004
L3_1[1] = L4_1
L3_1[2] = L5_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "ANY_MONSTER_DIE_85007"
L3_1[1] = L4_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L5_1 = 85003
L6_1 = 85014
L7_1 = 85015
L4_1[1] = L5_1
L4_1[2] = L6_1
L4_1[3] = L7_1
L3_1.monsters = L4_1
L4_1 = {}
L5_1 = 85005
L6_1 = 85016
L4_1[1] = L5_1
L4_1[2] = L6_1
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L5_1 = "ANY_MONSTER_DIE_85008"
L4_1[1] = L5_1
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L4_1 = {}
L5_1 = {}
L6_1 = 85017
L5_1[1] = L6_1
L4_1.monsters = L5_1
L5_1 = {}
L6_1 = 85006
L7_1 = 85013
L5_1[1] = L6_1
L5_1[2] = L7_1
L4_1.gadgets = L5_1
L5_1 = {}
L4_1.regions = L5_1
L5_1 = {}
L6_1 = "ANY_MONSTER_DIE_85009"
L5_1[1] = L6_1
L4_1.triggers = L5_1
L4_1.rand_weight = 100
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
suites = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2
  L2_2 = ScriptLib
  L2_2 = L2_2.GetGroupMonsterCount
  L3_2 = A0_2
  L2_2 = L2_2(L3_2)
  if L2_2 ~= 0 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_85007 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 85004
  L5_2 = GadgetState
  L5_2 = L5_2.Default
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_ANY_MONSTER_DIE_85007 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2
  L2_2 = ScriptLib
  L2_2 = L2_2.GetGroupMonsterCount
  L3_2 = A0_2
  L2_2 = L2_2(L3_2)
  if L2_2 ~= 0 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_85008 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 85005
  L5_2 = GadgetState
  L5_2 = L5_2.Default
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_ANY_MONSTER_DIE_85008 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2
  L2_2 = ScriptLib
  L2_2 = L2_2.GetGroupMonsterCount
  L3_2 = A0_2
  L2_2 = L2_2(L3_2)
  if L2_2 ~= 0 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_85009 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 85006
  L5_2 = GadgetState
  L5_2 = L5_2.Default
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_ANY_MONSTER_DIE_85009 = L1_1
L1_1 = require
L2_1 = "V2_2/DayFinishSuite"
L1_1(L2_1)
